import React from 'react';

const Header = () => {
    return (
        <header className="app-header">
            <h1>银行家算法AI解释器</h1>
            <p>使用人工智能解释银行家算法的执行过程，分析死锁原因并提供解决方案</p>
            <div className="features">
                <div className="feature">
                    <span>🔄</span>
                    <p>算法过程解释</p>
                </div>
                <div className="feature">
                    <span>🔍</span>
                    <p>死锁诊断</p>
                </div>
                <div className="feature">
                    <span>💾</span>
                    <p>历史记录保存</p>
                </div>
            </div>
        </header>
    );
};

export default Header;